package com.freeLearning.boot.course.model.VO;

import com.freeLearning.boot.course.model.entity.CourseChapters;
import com.freeLearning.boot.course.model.entity.UserCourse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class UserCourseWatchVO extends UserCourse {
    @Schema(description = "集数")
    private Integer chaptersNum;

    @Schema(description = "课程章节")
    private List<CourseChaptersVO> chapters;

    @Schema(description = "isLike")
    private Boolean isLike;

    @Schema(description = "点赞数量")
    private Long likeCount;
}
